package eerbaar.server.gamebuilder.config;

import java.util.ArrayList;
import java.util.List;

public class AreaConfig extends AbstractConfig {

    private final List<ElementConfig> elements = new ArrayList<ElementConfig>();

    private int height;

    private int width;

    public void addElement(ElementConfig element) {
        this.elements.add(element);
    }

    public List<ElementConfig> getElements() {
        return this.elements;
    }

    public int getHeight() {
        return this.height;
    }

    public int getWidth() {
        return this.width;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setWidth(int width) {
        this.width = width;
    }

}
